package sz.szsmk.citizencard.model.network.dzbean.req;

import sz.szsmk.citizencard.util.RequestParamUtils;

/**
 * Created by chensf on 17/10/5.
 */

public class BaseRequest  {
    private String channelId; // (string): 渠道号 ,
    private String deviceId; // (string): 设备id ,
    private String nonce; // (string): 随机数 ,
    private String signature; // (string): 数字签名 ,
    private String timestamp; // (string): 时间戳
    private String authCode;
    private String accessToken;
    private String certNo;


    public String getAuthCode() {
        return authCode;
    }

    public void setAuthCode(String authCode) {
        this.authCode = authCode;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }


    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public  BaseRequest(){
        channelId = RequestParamUtils.getChannelId();
        deviceId=RequestParamUtils.getDeviceId();
        nonce = RequestParamUtils.getNonce();
        timestamp=RequestParamUtils.getTimestamp();
    }
}
